hemPw

fun Number.hemPw(context: Context): Float

EN Extension for Int with dynamic scaling based on the Screen Height (hDP) (WITHOUT FONT SCALE), but in portrait orientation it acts as Screen Width (wDP). Usage example: 32.hemPw(context).